package com.hycreate.platform.modules.dismissthecase;

import java.util.Date;

import org.hibernate.validator.constraints.Length;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hycreate.platform.common.persistence.DataEntity;

/**
 * 结案驳回Entity
 * @author wang
 * @version 2017-11-29
 */
public class YhcgDismissthecase extends DataEntity<YhcgDismissthecase> {
	
	private static final long serialVersionUID = 1L;
	private String uid;		// 工单id
	private Date closedtime;		// 结案被驳回时间
	private String closeduser;		// 结案驳回人
	private String closedproposal;		// 结案驳回建议
	private String  isnot;//是否重复投诉
	private String status;
	
	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getIsnot() {
		return isnot;
	}

	public void setIsnot(String isnot) {
		this.isnot = isnot;
	}

	public YhcgDismissthecase() {
		super();
	}

	public YhcgDismissthecase(String id){
		super(id);
	}

	@Length(min=0, max=36, message="工单id长度必须介于 0 和 36 之间")
	public String getUid() {
		return uid;
	}

	public void setUid(String uid) {
		this.uid = uid;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	public Date getClosedtime() {
		return closedtime;
	}

	public void setClosedtime(Date closedtime) {
		this.closedtime = closedtime;
	}
	
	@Length(min=0, max=255, message="结案驳回人长度必须介于 0 和 255 之间")
	public String getCloseduser() {
		return closeduser;
	}

	public void setCloseduser(String closeduser) {
		this.closeduser = closeduser;
	}
	
	public String getClosedproposal() {
		return closedproposal;
	}

	public void setClosedproposal(String closedproposal) {
		this.closedproposal = closedproposal;
	}
	
}